package com.mvc.service.vo.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.alibaba.fastjson.JSON;
import com.mvc.dao.mapper.vo.*;
import com.mvc.model.vo.e100.v2.InitClass;
import com.mvc.service.vo.*;

@Service
public class SkDataServiceImpl implements SkDataService {
	
	@Autowired
	private SkDataDao sdd;

	@Override
	public void insertSkData(String personId,String json) {
		InitClass ic = new InitClass();
		ic = JSON.parseObject(json, InitClass.class);
		ic.setPersonId(personId);
		ic.setDataSource("双佳一体机e100-v2.0");
		sdd.insertSkData(ic);
	}

}
